import {request , uploadFile} from "@/utils/request.js";

export default {
  /**
   *  获取当前人已经注册的账号
   */
    getUserLognNoList(data){
      return request({
        url: "/ysapi/v1/user/getPhoneAccount",
        method: "get",
        data: data,
      })
    },
    //切换老师
    changeTeacher(){
      return request({
        url: "/ysapi/v1/user/changeTeacher",
        method: "get",
      })
    },
    //切换管理员  
    changeManager(){
      return request({
        url: "/ysapi/v1/user/changeManager",
        method: "get",
      })
    },
    //切换管理员 
    changeStudent(){
      return request({
        url: "/ysapi/v1/user/changeStudent",
        method: "get",
      })
    },
    //获取管理/教师的菜单
    getMenu(){
      return request({
        url: "/api/user/getMenu",
        method: "get",
      })
    },
    
    
}